/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconFlow: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M512 96A416 416 0 0 1 928 512 416 416 0 0 1 512 928 416 416 0 0 1 96 512 416 416 0 0 1 512 96z m0 64a352 352 0 1 0 0 704 352 352 0 1 0 0-704z m32 97.237333v75.434667c73.728 9.173333 126.122667 48.853333 128.64 105.642667l0.128 4.352h-64c0-24.661333-36.266667-48-98.133333-48-62.933333 0-98.133333 19.712-98.133334 48 0 25.386667 30.72 46.592 91.946667 47.914666l6.186667 0.085334c96.469333 0 162.133333 43.52 162.133333 112 0 64.512-52.693333 101.973333-128.768 110.250666v76.544h-64V712.96c-75.093333-8.533333-128.810667-48.554667-131.413333-105.984l-0.042667-4.352h64c0 24.661333 36.266667 48 98.133333 48 62.890667 0 98.133333-19.712 98.133334-48 0-25.386667-30.72-46.549333-91.946667-47.914667l-12.458667-0.128c-93.056-1.834667-155.861333-44.970667-155.861333-111.914666 0-65.322667 53.930667-102.912 131.498667-110.549334l-0.042667-74.922666h64z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconFlow.defaultProps = {
  size: 22,
};

export default IconFlow;
